<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class HotelData extends Model
{
    protected $table = "day_list";
//    查询列表
    public static function listDatas($pages)
    {
        return self::paginate($pages);
    }
    //    查询详情
    public static function detail($id)
    {
        return self::where('id',$id)->select();
    }

}
